package com.alks.function.mapper.pcfactoryquery;

import com.alks.entity.data.entity.PcSlipDetail;
import com.alks.function.data.request.stockdept.pcfactorystockwork.MtlSumUpRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 订单存取明细 Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-07-30
 */
public interface FT_QR_PcSlipDetailMapper extends BaseMapper<PcSlipDetail> {

    /*材料批量入库*/
    void otherMtlInStockAdd(List<PcSlipDetail> detail);

    /*写入发料明细*/
    void fdMtlSumUpdate(@Param("request") List<MtlSumUpRequest> request, @Param("now") LocalDateTime now, @Param("userName") String userName, @Param("slipNo") String slipNo);

    /*删除发料明细*/
    void fdMtlSumCancel(@Param("slipNo") String slipNo);
}
